import Vue from "vue";
import App from "./App.vue";
import bus from "./utils/eventBus";
import router from "./router";
import "animate.css";
import store from "./store"
//将bus添加到vue构造函数的原型上
Vue.prototype.$bus = bus;
// import add from "./Es6Model";

// import {multi} from "./Es6Model";

// console.log(add.minus(2,1));
// console.log(add);
// console.log(multi(2,4));

Vue.config.productionTip = false;

new Vue({
  store,
  router,
  provide() {
    return {
      msg: this.msg,
    };
  },
  data: {
    msg: "根实例的值",
  },
  render: (h) => h(App),
}).$mount("#app");
